// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved.
 * Author: Huawei OS Kernel Lab
 * Create: Thu Aug 15 16:14:23 2023
 */

#include <linux/kernel.h>
#include <linux/timex.h>

#ifdef CONFIG_ARM64
unsigned long calibrate_delay_is_known(void)
{
	return read_sysreg(cntfrq_el0) / HZ;
}
#endif
